package com.yb.sys.order.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/3 13:31
 * FileName: Person
 * Description:
 */

@Component
@RefreshScope
@ConfigurationProperties(prefix = "person")
@Data
public class Person {
    Integer id;
    String name;
    String gender;
}
